package com.da.javatest.leetCode;

public class ListNode {
    int val;
    ListNode next;

    ListNode(int x) { val = x; }

    public void setVal(int val) {
        this.val = val;
    }

    public void setNext(ListNode next) {
        this.next = next;
    }
}